#include <stdio.h>
#include <fcntl.h>
#include <sys/stat.h>
#include <unistd.h>

int main() {
	int fd = open("1.txt",O_RDWR | O_APPEND | O_CREAT);
	write(fd,"123",3);
	return 0;
}
